package com.qinge.blog.service;

import com.github.pagehelper.PageInfo;
import com.qinge.blog.entity.BlogComment;
import com.qinge.blog.vo.paging.PagingReqVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022/05/15 22:53
 * @description BlogCommentService service层类
 */
public interface BlogCommentService {
    void add(BlogComment... blogComments);

    void addByList(List<BlogComment> blogComments);

    void removeById(String id);

    void removeBatchByIds(List<String> ids);

    void update(BlogComment blogComment);

    void upsert(BlogComment blogComment);

    BlogComment findById(String id);

    List<BlogComment> findByIds(List<String> ids);

    PageInfo<BlogComment> findAll();

    PageInfo<BlogComment> findAll(PagingReqVO<BlogComment> pagingReqVO);

    PageInfo<BlogComment> paging(PagingReqVO<BlogComment> pagingReqVO);
}


